package controller
{
	import flash.utils.getQualifiedClassName;
	
	import org.osflash.thunderbolt.Logger;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.utilities.fabrication.components.FlexModuleLoader;
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand;

	public class LoadModuleCommand extends SimpleFabricationCommand
	{
		public static const NAME:String = getQualifiedClassName(LoadModuleCommand);
		
		override public function execute(notification:INotification):void
		{
			Logger.info(NAME+ " : execute()");
			
			var moduleLoader:FlexModuleLoader = new FlexModuleLoader();
			
			moduleLoader.url = "modules/SimpleModule.swf";
			moduleLoader.loadModule(); 
		}
	}
}